QT       += core gui

INCLUDEPATH += D:\Eigen\eigen-3.3.9



#INCLUDEPATH += D:\Cpp\opencv\build\include
#               D:\Cpp\opencv\build\include\opencv
#               D:\Cpp\opencv\build\include\opencv2

#INCLUDEPATH += D:\Cpp\opencv\build\include
#CONFIG(debug, debug|release): {
#LIBS += -LD:\Cpp\opencv\build\x64\vc14\bin \
#-lopencv_world345
#-lopencv_world345d
#} else:CONFIG(release, debug|release): {
#LIBS += -LD:\Cpp\opencv\build\x64\vc14\bin \
#-lopencv_world345
#-lopencv_world345d
#}

INCLUDEPATH+=D:\Cpp\OpenCV-MinGW-Build-OpenCV-4.0.1-x64\include

LIBS+=D:\Cpp\OpenCV-MinGW-Build-OpenCV-4.0.1-x64\x64\mingw\bin\libopencv_core401.dll
LIBS+=D:\Cpp\OpenCV-MinGW-Build-OpenCV-4.0.1-x64\x64\mingw\bin\libopencv_highgui401.dll
LIBS+=D:\Cpp\OpenCV-MinGW-Build-OpenCV-4.0.1-x64\x64\mingw\bin\libopencv_imgproc401.dll
LIBS+=D:\Cpp\OpenCV-MinGW-Build-OpenCV-4.0.1-x64\x64\mingw\bin\libopencv_calib3d401.dll
LIBS+=D:\Cpp\OpenCV-MinGW-Build-OpenCV-4.0.1-x64\x64\mingw\bin\libopencv_imgcodecs401.dll
LIBS+=D:\Cpp\OpenCV-MinGW-Build-OpenCV-4.0.1-x64\x64\mingw\bin\libopencv_videoio401.dll


greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++14


# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    editor_scene.cpp \
    editor_view.cpp \
    editor_win.cpp \
    main.cpp \
    Rasterizer/rasterizer.cpp \
    Rasterizer/triangle.cpp \
    node_data.cpp \
    node_edge.cpp \
    node_edge_temp.cpp \
    node_ensemble.cpp \
    node_item.cpp \
    node_socket.cpp

HEADERS += \
    RayTracing/Vector.h \
    Rasterizer/rasterizer.h \
    Rasterizer/triangle.h \
    editor_scene.h \
    editor_view.h \
    editor_win.h \
    node_data.h \
    node_edge.h \
    node_edge_temp.h \
    node_ensemble.h \
    node_item.h \
    node_socket.h \
    types.h

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

DISTFILES += \
    ../README.md \
    others/nodestyle.qss


